Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Improve DumpAsync SOS command #20845

Merged
merged 6 commits into from
Nov 7, 2018
Merged

Conversation

stephentoub
Copy link
Member

Replacement for #20807, which was having CI problems.

@stephentoub
Copy link
Member Author

@dotnet-bot test this please

- Add a stats summary at the beginning of the output
- Improved single-line-per-entry default behavior for increased readability
- Add option to include all tasks, not just async state machine objects
- Include state value for each async object, the state field for async state machines or the state flags for other tasks
- Support following continuation chains, rendered as "async stacks"
- Support resolving delegate names so that Task.Run and related items have the associated method name displayed
- Optional (experimental) DGML rendering of the graph
- Optionally include completed tasks, by default filtering them out
- Optionally display the fields of state machines
Not enough value right now, and complications in compilation on Unix given sos's current set up.  Not worth it.
@stephentoub
Copy link
Member Author

@dotnet-bot test CentOS7.1 x64 Checked Innerloop Build and Test please

@stephentoub
Copy link
Member Author

@dotnet-bot test this please (Jenkins was restarted)

@stephentoub stephentoub merged commit 8afc12d into dotnet:master Nov 7, 2018
@stephentoub stephentoub deleted the asyncdbg2 branch November 7, 2018 20:14
A-And pushed a commit to A-And/coreclr that referenced this pull request Nov 20, 2018
* Help DumpDelegate to dump more cases

* Improve DumpAsync command

- Add a stats summary at the beginning of the output
- Improved single-line-per-entry default behavior for increased readability
- Add option to include all tasks, not just async state machine objects
- Include state value for each async object, the state field for async state machines or the state flags for other tasks
- Support following continuation chains, rendered as "async stacks"
- Support resolving delegate names so that Task.Run and related items have the associated method name displayed
- Optional (experimental) DGML rendering of the graph
- Optionally include completed tasks, by default filtering them out
- Optionally display the fields of state machines

* Decode task state flags

* Add addr option and associated DumpAsync DML

* Fix cast warnings in checked / fprintf_s on Unix

* Remove DGML from DumpAsync

Not enough value right now, and complications in compilation on Unix given sos's current set up.  Not worth it.
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
* Help DumpDelegate to dump more cases

* Improve DumpAsync command

- Add a stats summary at the beginning of the output
- Improved single-line-per-entry default behavior for increased readability
- Add option to include all tasks, not just async state machine objects
- Include state value for each async object, the state field for async state machines or the state flags for other tasks
- Support following continuation chains, rendered as "async stacks"
- Support resolving delegate names so that Task.Run and related items have the associated method name displayed
- Optional (experimental) DGML rendering of the graph
- Optionally include completed tasks, by default filtering them out
- Optionally display the fields of state machines

* Decode task state flags

* Add addr option and associated DumpAsync DML

* Fix cast warnings in checked / fprintf_s on Unix

* Remove DGML from DumpAsync

Not enough value right now, and complications in compilation on Unix given sos's current set up.  Not worth it.


Commit migrated from dotnet/coreclr@8afc12d
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant